﻿using BackData;
using Domain.BOM;
using MediatR;

namespace Team.API.Applocation.Command.BOM
{
    /// <summary>
    /// 获取BOM列表命令
    /// </summary>
    public class GetBOMCommand:IRequest<APIPaging<Bomtable>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int Pageindex { get; set; } = 1;
        /// <summary>
        /// 每页数量
        /// </summary>
        public int Pagesize { get; set; } = 10;
        /// <summary>
        /// 成品编码（物品编号）
        /// </summary>
        public string? Itemcode { get; set; }
        /// <summary>
        /// 成品名称（物料名称）
        /// </summary>
        public string? GoodsName { get; set; }
        /// <summary>
        /// BOM编号（物料清单版本）
        /// </summary>
        public string? BOMNumber { get; set; }
        /// <summary>
        /// 状态（是否使用：true-启用，false-禁用）
        /// </summary>
        public bool? IsUse { get; set; }
    }
}
